﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace papercut2.Data.Global
{
    public class bpoint
    {
        double x, y;
        double flag = 0;
        double  area;
        bpoint next;

        public bpoint(double x_value, double y_value, double flag_value, double area_value, bpoint next_value)
        {
            x = x_value;
            y = y_value;
            flag = flag_value;
            area = area_value;
            next = next_value;
        }

        public double X
        {
            get
            {
                return this.x;
            }
            set
            {
                this.x = value;
            }
        }
        public double Y
        {
            get
            {
                return y;
            }
            set
            {
                y = value;
            }
        }
        public double Flag
        {
            get
            {
                return flag;
            }
            set
            {
                flag = value;
            }
        }
        public double Area
        {
            get
            {
                return area;
            }
            set
            {
                area = value;
            }
        }
        public bpoint Next
        {
            get
            {
                return next;
            }
            set
            {
                next = value;
            }
        }
    };
}
